/**
 * Bestpay.com.cn Inc.
 * Copyright (c) 2011-2019 All Rights Reserved.
 */
package javabasics.lambda.entity;

/**
 * @author zhaorongzhang
 * @version Id: artist.java, v 0.1 2019/6/9 23:30 zhaorongzhang Exp $$
 */
public class Artist {

    private String name;

    private String members;

    private String origin;

    public boolean isFrom(String origin) {
        return this.origin.equals(origin);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMembers() {
        return members;
    }

    public void setMembers(String members) {
        this.members = members;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    @Override
    public String toString() {
        return "Artist{" +
                "name='" + name + '\'' +
                ", members='" + members + '\'' +
                ", origin='" + origin + '\'' +
                '}';
    }
}